<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" data-rule="required" class="form-control" name="row[uid]" type="number" value="{$row.uid|htmlentities}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Invoice_type')}:</label>
        <div class="col-xs-12 col-sm-4">
            <select id="invoice_type" class="form-control selectpicker">
                <option value="0">请选择</option>
                <option value="1"{if $row.invoice_type == 1} selected="selected"{/if}>增值税普通发票</option>
                <option value="2"{if $row.invoice_type == 2} selected="selected"{/if}>增值税专用发票</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Invoice_rise')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-invoice_rise" data-rule="required" class="form-control" name="row[invoice_rise]" type="text" value="{$row.invoice_rise|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Duty_paragraph')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-duty_paragraph" data-rule="required" class="form-control" name="row[duty_paragraph]" type="text" value="{$row.duty_paragraph|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Unit_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-unit_address" class="form-control" name="row[unit_address]" type="text" value="{$row.unit_address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact" class="form-control" name="row[contact]" type="text" value="{$row.contact|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deposit_bank')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deposit_bank" class="form-control" name="row[deposit_bank]" type="text" value="{$row.deposit_bank|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_account')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_account" class="form-control" name="row[bank_account]" type="text" value="{$row.bank_account|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Apply_status')}:</label>
        <!--<div class="col-xs-12 col-sm-8">
            <input id="c-apply_status" data-rule="required" class="form-control" name="row[apply_status]" type="number" value="{$row.apply_status|htmlentities}">
        </div>-->
        <div class="col-xs-12 col-sm-4">
            <select id="apply_status" class="form-control selectpicker" name="row[apply_status]">
                <option value="1">请选择</option>
                <option value="2"{if $row.apply_status == 2} selected="selected"{/if}>通过</option>
                <option value="3"{if $row.apply_status == 3} selected="selected"{/if}>失败</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Icontents')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-icontents" class="form-control " rows="5" name="row[icontents]" cols="50">{$row.icontents|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Iremarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-iremarks" class="form-control " rows="5" name="row[iremarks]" cols="50">{$row.iremarks|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
